export const settledEnterprise = {
    unaudited: [
        {
            prop: "orgName",
            slot: "orgName",
            label: "企业主体名称",
            minWidth: 200,
            align: "left",
        },
        {
            prop: "socialCreditCode",
            label: "统一社会信用代码",
            minWidth: 160,
            align: "center",
        },
        {
            prop: "approveStatus",
            slot: "approveStatus",
            label: "审核状态",
            minWidth: 100,
            align: "left",
        },
        {
            prop: 'submitTime',
            label: "提交时间",
            minWidth: 100,
            align: "center",
        },
        {
            prop: "action",
            slot: "action",
            label: "操作",
            minWidth: 150,
            align: "center",
        }
    ],
    audited: [
        {
            prop: "orgName",
            slot: "orgName",
            label: "企业主体名称",
            minWidth: 200,
            align: "left",
        },
        {
            prop: "socialCreditCode",
            label: "统一社会信用代码",
            minWidth: 160,
            align: "center",
        },
        {
            prop: "approveStatus",
            slot: "approveStatus",
            label: "审核状态",
            minWidth: 100,
            align: "left",
        },
        {
            prop: 'submitTime',
            label: "提交时间",
            minWidth: 100,
            align: "center",
        }
    ],
    approveLogColumn: [
        {
            prop: "realName",
            label: "用户",
            align: "center",
            minWidth: 140,
        },
        {
            prop: "userUnit",
            label: "用户类型",
            align: "center",
            minWidth: 140,
        },
        {
            prop: "operateProcessName",
            label: "流程名称",
            align: "center",
            minWidth: 140,
        },
        {
            prop: "operateContent",
            label: "操作内容",
            align: "center",
            minWidth: 140,
        },
        {
            prop: "operateReason",
            label: "操作原因",
            align: "center",
            minWidth: 140,
        },
        {
            prop: "operateTime",
            label: "操作时间",
            align: "center",
            minWidth: 140,
        },
        {
            prop: "folderId",
            slot: "folderId",
            label: "资料",
            align: "center",
            minWidth: 140,
        },
    ]
}

export const serviceType = [
    {
        prop: "name",
        label: "服务名称",
        minWidth: 200,
        align: "left",
    },
    {
        prop: "type",
        label: "服务类型",
        minWidth: 160,
        align: "center",
        formatter: (row: any) => {
            if (row.type == '0') {
                return '基础服务'
            } else {
                return '拓展服务'
            }
        }
    },
    {
        prop: "publishMark",
        label: "发布状态",
        minWidth: 110,
        align: "center",
        formatter: (row: any) => {
            if (row.type == '1') {
                return '是'
            } else {
                return '否'
            }
        }
    },
    {
        prop: "createTime",
        label: "创建时间",
        minWidth: 100,
        align: "left",
    },
    {
        prop: 'action',
        slot: 'action',
        label: "操作",
        minWidth: 100,
        align: "center",
    }
]

export const baseService = {
    unaudited: [
        {
            prop: "orgName",
            slot: "orgName",
            label: "企业主体名称",
            minWidth: 200,
            align: "left",
        },
        {
            prop: "socialCreditCode",
            label: "统一社会信用代码",
            minWidth: 160,
            align: "center",
        },
        {
            prop: "packageName",
            label: "服务套餐",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "serviceName",
            label: "服务名称",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "approveStatus",
            slot: "approveStatus",
            label: "审核状态",
            minWidth: 100,
            align: "left",
        },
        {
            prop: 'submitTime',
            label: "提交时间",
            minWidth: 120,
            align: "center",
        },
        {
            prop: "action",
            slot: "action",
            label: "操作",
            minWidth: 150,
            align: "center",
        }
    ],
    audited: [
        {
            prop: "orgName",
            slot: "orgName",
            label: "企业主体名称",
            minWidth: 200,
            align: "left",
        },
        {
            prop: "socialCreditCode",
            label: "统一社会信用代码",
            minWidth: 160,
            align: "center",
        },
        {
            prop: "packageName",
            label: "服务套餐",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "serviceName",
            label: "服务名称",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "approveStatus",
            slot: "approveStatus",
            label: "审核状态",
            minWidth: 100,
            align: "left",
        },
        {
            prop: 'submitTime',
            label: "提交时间",
            minWidth: 100,
            align: "center",
        }
    ],
}

export const expansionService = {
    unaudited: [
        {
            prop: "orgName",
            slot: "orgName",
            label: "企业主体名称",
            minWidth: 200,
            align: "left",
        },
        {
            prop: "socialCreditCode",
            label: "统一社会信用代码",
            minWidth: 160,
            align: "center",
        },
        {
            prop: "packageName",
            label: "服务套餐",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "serviceName",
            label: "服务名称",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "approveStatus",
            slot: "approveStatus",
            label: "审核状态",
            minWidth: 100,
            align: "left",
        },
        {
            prop: 'submitTime',
            label: "提交时间",
            minWidth: 100,
            align: "center",
        },
        {
            prop: "action",
            slot: "action",
            label: "操作",
            minWidth: 150,
            align: "center",
        }
    ],
    audited: [
        {
            prop: "orgName",
            slot: "orgName",
            label: "企业主体名称",
            minWidth: 200,
            align: "left",
        },
        {
            prop: "socialCreditCode",
            label: "统一社会信用代码",
            minWidth: 160,
            align: "center",
        },
        {
            prop: "packageName",
            label: "服务套餐",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "serviceName",
            label: "服务名称",
            minWidth: 110,
            align: "center",
        },
        {
            prop: "approveStatus",
            slot: "approveStatus",
            label: "审核状态",
            minWidth: 100,
            align: "left",
        },
        {
            prop: 'submitTime',
            label: "提交时间",
            minWidth: 100,
            align: "center",
        }
    ],
}
